计算机与现代化 ›› 2010, Vol. 1 ›› Issue (6): 147-0149.doi: 10.3969/j.issn.1006-2475.2010.06.042

• 计算机控制 • 上一篇    下一篇

任意个控制点的三次B样条曲线绘制系统设计

黄胜忠1,蓝玉龙2   

  1. 1.柳州师范高等专科学校数学与计算机科学系,广西 柳州 545004; 2.南宁地区教育学院数学与计算机科学系,广西 南宁530001
  • 收稿日期:2010-01-29 修回日期:1900-01-01 出版日期:2010-07-01 发布日期:2010-07-01

Design of Three B-spline Curve Drawing System of Any Control Points

HUANG Sheng-zhong1, LAN Yu-long2   

  1. 1.Department of Mathematics and Computer Science, Liuzhou Teachers College, Liuzhou 545004, China;2.Department of Mathematics and Computer Science, Nanning Prefecture Education College, Nanning 530001, China
  • Received:2010-01-29 Revised:1900-01-01 Online:2010-07-01 Published:2010-07-01

摘要: 三次B样条曲线在实际工程中得到了广泛应用,在目前的文献中还未查到任意个控制点的三次B样条曲线绘制系统。为了使B样条曲线得到更广泛应用和方便《计算机辅助几何设计》课程关于B样条曲线的可视化教学,本文用Matlab GUI编程设计三次B样条曲线绘制系统。此系统界面简洁,使用方便。可用鼠标在屏幕坐标系上点击输入任意个控制点,也可用文件方式输入任意个控制点。用矩阵描述B样条曲线方程,实现快速计算并绘制出光滑的三次B样条曲线。

关键词: 任意个控制点, 三次B样条, 曲线绘制, 系统设计, 可视化教学

Abstract: The three B-spline curve in the actual project has been widely used. The three B-spline curve drawing system of any control points has not yet been found in the current literature. In order for B-spline curve to be more widely applied and for the “ComputerAided Geometric Design” course on the B-spline curve visual teaching to be userfriendly, this paper programms the three B-spline curve drawing system with Matlab GUI. The system interface is simple and easy to use. The screen coordinate system can be clicked with the mouse to input any control points. Any control points can also be entered by file way. Bspline curve equation may be described with matrix to achieve a quick count and draw a smooth curve of the three B-spline.

Key words: any control points, three B-spline, curve drawing, system design, visual teaching

中图分类号: